package com.messe.base.models;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;



/**
 * Brand entity. @author MyEclipse Persistence Tools
 */

public class Brand  implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = -2743406808040593147L;
	private String brandId;
     private String parentId;
     private Timestamp lastUpdatedStamp;
     private Timestamp createdStamp;
     private Set<BrandAppendix> brandAppendixes = new HashSet<BrandAppendix>(0);
     private Set<Exhibition> exhibitions = new HashSet<Exhibition>(0);
     private Organization organization;
     private Set<EmailTemp> emailTemps=new HashSet<EmailTemp>();

     private String year;
     private String person;
     /** 观众主来源 */
     private Integer mainDataSource;// 10:最早信息 20:最新信息  30-70:1-5等级划分 
     
     private String smsAuth;
     private Set<BrandPublicNum> brandPublicNums = new HashSet<BrandPublicNum>(0);
     
    // Constructors

    /** default constructor */
    public Brand() {
    }

	/** minimal constructor */
    public Brand(String brandId, Timestamp lastUpdatedStamp, Timestamp createdStamp) {
        this.brandId = brandId;
        this.lastUpdatedStamp = lastUpdatedStamp;
        this.createdStamp = createdStamp;
    }
    
    /** full constructor */
//    public Brand(String brandId, String parentId, Timestamp lastUpdatedStamp, Timestamp createdStamp, Set brandAppendixes, Set exhibitions) {
//        this.brandId = brandId;
//        this.parentId = parentId;
//        this.lastUpdatedStamp = lastUpdatedStamp;
//        this.createdStamp = createdStamp;
//        this.brandAppendixes = brandAppendixes;
//        this.exhibitions = exhibitions;
//    }

   
    // Property accessors

    public String getBrandId() {
        return this.brandId;
    }
    
    public void setBrandId(String brandId) {
        this.brandId = brandId;
    }

    public String getParentId() {
        return this.parentId;
    }
    
    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public Timestamp getLastUpdatedStamp() {
        return this.lastUpdatedStamp;
    }
    
    public void setLastUpdatedStamp(Timestamp lastUpdatedStamp) {
        this.lastUpdatedStamp = lastUpdatedStamp;
    }

    public Timestamp getCreatedStamp() {
        return this.createdStamp;
    }
    
    public void setCreatedStamp(Timestamp createdStamp) {
        this.createdStamp = createdStamp;
    }

	public Set<BrandAppendix> getBrandAppendixes() {
		return brandAppendixes;
	}

	public void setBrandAppendixes(Set<BrandAppendix> brandAppendixes) {
		this.brandAppendixes = brandAppendixes;
	}

	public Set<Exhibition> getExhibitions() {
		return exhibitions;
	}

	public void setExhibitions(Set<Exhibition> exhibitions) {
		this.exhibitions = exhibitions;
	}

	public Organization getOrganization() {
		return organization;
	}

	public void setOrganization(Organization organization) {
		this.organization = organization;
	}

	public String getSmsAuth() {
		return smsAuth;
	}

	public void setSmsAuth(String smsAuth) {
		this.smsAuth = smsAuth;
	}

	public Set<EmailTemp> getEmailTemps() {
		return emailTemps;
	}

	public void setEmailTemps(Set<EmailTemp> emailTemps) {
		this.emailTemps = emailTemps;
	}

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	public String getPerson() {
		return person;
	}

	public void setPerson(String person) {
		this.person = person;
	}

	public Set<BrandPublicNum> getBrandPublicNums() {
		return brandPublicNums;
	}

	public void setBrandPublicNums(Set<BrandPublicNum> brandPublicNums) {
		this.brandPublicNums = brandPublicNums;
	}

	public Integer getMainDataSource() {
		return mainDataSource;
	}

	public void setMainDataSource(Integer mainDataSource) {
		this.mainDataSource = mainDataSource;
	}

}